home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / xgrasp.zip / MAKEFILE < prev    next >
Text File  |  1992-09-04  |  638b  |  29 lines

  1. #ident "@(#)Makefile    1.14 91/04/02 XGRASP"
  2. CFLAGS=-O
  3. OBJS=xgrasp.o parser.o exec.o readfiles.o gif.o fades.o usleep.o strdup.o
  4. SRCS=$(OBJS:.o=.c)
  5. HDRS=grasp.h patchlevel.h
  6. LIBS=-lX -lm -lSYS
  7. MANS=glib.man xgrasp.man
  8. TAR=README $(SRCS) $(HDRS) Makefile Imakefile glib.c docs $(MANS)
  9.  
  10. all: xgrasp.exe glib.exe
  11.  
  12. debug: all
  13. debug:=CFLAGS=-g
  14.  
  15. xgrasp.exe: $(OBJS)
  16.     gcc -o xgrasp $(OBJS) $(LIBS)
  17.     copy /b \djgpp\bin\go32.exe+xgrasp xgrasp.exe
  18.  
  19. glib.exe: glib.o
  20.     gcc -o glib glib.o
  21.     copy /b \djgpp\bin\go32.exe+glib glib.exe
  22.  
  23. tar: $(TAR)
  24.     tar cvf xgrasp.tar $(TAR)
  25.     -rm xgrasp.tar.Z
  26.     compress xgrasp.tar
  27.  
  28. .KEEP_STATE:
  29.